import { Injectable } from '@angular/core';
@Injectable({
  providedIn: 'root',
})
export class ShowService {
  constructor() {}
  public language = {
    en: {
      mainTitle: 'MRFS Aggregate/Query/Search System',
      model: 'Model',
      aggregation: 'Aggregation',
      query: 'Query',
      search: 'Search',
      mridinfo: 'MRID Info',
      load: 'Load Model',
      modelquerytitle: 'Model Title',
      modelqueryauthor: 'Model Author',
      modelquerybegin: 'Model Create Time',
      modelquerymaxnumber: 'Model Number',
      modelquery: 'Search Model',
      aggregationcommoncondition: 'Common Condition',
      aggregationitem: 'Statistic Group',
      aggregationcalculation: 'Calculate Form',
      calculation: 'Calculation Form',
      calculationname: 'Calculation Name',
      savemodel: 'Save Model',
      create: 'New',
      open: 'Open',
      save: 'Save',
      aggregatebutton: 'Aggregate',
      querybutton: 'Query',
      searchbutton: 'Search',
      mridbutton: 'Mrid Query',
      mridmode: 'Mrid Mode',
      mriddistinct: 'Mrid Distinct',
      strictasync: 'Strict Mode async',
      sequenceasync: 'Sequence Mode async',
      showallcolumn: 'Show all Columns',
      querysetting: 'Query Settings',
      grouprelation: 'Group Mode',
      intersect: 'Intersect',
      union: 'Union',
      except: 'Except',
      relation: 'Relation',
      show: 'Name',
      operate: 'Operation',
      value: 'Value',
      public: 'Public in model',
      parameter: 'Paramter',
      export: 'Export',
      settingname: 'Setting Name',
      diagnosis: 'Diagnosis',
      clinic: 'Clinic',
      allergy: 'Allergy',
      surgery: 'Surgery',
      operation: 'Operation',
      transform: 'Transform',
      icu: 'ICU',
      contact: 'Contact',
      subdoccount: 'Count',
      input: 'input',
      ok: 'OK',
      cancel: 'Cancel',
      select: 'Select',
      confirm: 'Confirm',
      execute: 'Execute',
      executing: 'Executing',
      edit: 'Edit',
      delete: 'Delete',
      name: 'Name',
      description: 'Description',
      shared: 'Shared',
      inputsearchword: 'input any words to search',
      inputmrid: 'input medical record id to search',
      add: 'Add',
      remove: 'Remove',
      conditiongroup: 'Condition Group',
      showresult: 'Show Result',
      statisticname: 'Statistic Name',
      statistictype: 'Statistic Type',
      combine: 'Combine',
      space: ' ',
      resultcount: 'result documents count',
      empty: 'empty',
      notempty: 'not empty',
      pre: 'pre word query',
      pst: 'pst word query',
      wildcard: 'wildcard query',
      asyncparallel: 'async parallel query',
    },

    cn: {
      mainTitle: '病案首页数据统计/检索/查询系统',
      model: '模板',
      aggregation: '统计',
      query: '查询',
      search: '检索',
      mridinfo: '病案号信息',
      load: '加载',
      modelquerytitle: '标题',
      modelqueryauthor: '作者',
      modelquerybegin: '最早时间',
      modelquerymaxnumber: '读取模板数量',
      modelquery: '查找模板',
      aggregationcommoncondition: '统计公共条件',
      aggregationitem: '统计项组',
      aggregationcalculation: '计算表达式',
      calculation: '计算表达式',
      calculationname: '计算项名称',
      savemodel: '保存为模板',
      create: '新建',
      open: '打开',
      save: '保存',
      aggregatebutton: '开始统计',
      querybutton: '开始查询',
      searchbutton: '全文检索',
      mridbutton: '病案号查询',
      mridmode: '病案号模式',
      mriddistinct: '病案号去重',
      strictasync: '严格异次',
      sequenceasync: '严格顺序',
      showallcolumn: '显示全部',
      querysetting: '设置',
      grouprelation: '分组逻辑关系',
      intersect: '交集',
      union: '并集',
      except: '差集',
      relation: '关系',
      show: '名称',
      operate: '操作',
      value: '值',
      public: '公开',
      parameter: '参数',
      export: '结果导出',
      settingname: '设置名称',
      subdoccount: '数量',
      diagnosis: '住院诊断',
      clinic: '门急诊诊断',
      allergy: '过敏',
      surgery: '手术',
      operation: '操作',
      transform: '转科',
      icu: 'ICU',
      contact: '联系人',
      input: '输入',
      ok: '确定',
      cancel: '取消',
      select: '选择',
      confirm: '确认',
      execute: '运行',
      executing: '运行中',
      edit: '编辑',
      delete: '删除',
      name: '名称',
      description: '详细信息',
      shared: '共享',
      inputsearchword: '输入关键字查询',
      inputmrid: '输入要查询病案号',
      add: '添加',
      remove: '删除',
      conditiongroup: '条件组',
      showresult: '显示结果',
      statisticname: '统计项名称',
      statistictype: '统计类型',
      combine: '联合分组',
      space: '',
      resultcount: '目标文档数量',
      empty: '空',
      notempty: '非空',
      pre: '前缀查询',
      pst: '后缀查询',
      wildcard: '模糊查询',
      asyncparallel: '异次并发',
    },
  };
}
